package com.yida.gwj.expend.outside.service;

import com.yida.gwj.api.domain.dto.GwjExpendHouseAndOwnerDTO;
import com.yida.gwj.expend.outside.domain.request.GwjHouseAndOwnerRequest;

import java.util.List;

/**
 * @author hmh
 * @date 2023/06/17
 */
public interface GwjExpendOutsideBaseHouseService {

    /**
     * 检查业主信息
     * 
     * @param gwjHouseAndOwnerRequest
     * @return
     */
    boolean checkOwnerInfo(Long bizId);

    /**
     * 根据业务ID更改房屋和业主信息
     * 
     * @param gwjHouseAndOwnerRequest
     * @return
     */
    boolean updatBusinessHouseAndOwnerInfoByBizId(GwjHouseAndOwnerRequest gwjHouseAndOwnerRequest);

    /**
     * 20230626
     * 
     * 根据业务ID查询房屋类型
     * 
     * @return
     */
    List<String> selectHouseUseType(Long bizId);

    /**
     * 20230626
     * 
     * 查询房屋业主投票列表
     * 
     * @param bizId 业务ID
     * @return
     */
    List<GwjExpendHouseAndOwnerDTO> selectHouseAndOwnerVoteInfosByBizIdAndBizNum(Long bizId, Long bizNum);

    /**
     * 查询房屋业主投票列表
     * @param outServerIdentification 业务标识
     * @return
     */
    List<GwjExpendHouseAndOwnerDTO> selectHouseAndOwnerVoteInfos(String outServerIdentification);
}
